package com.vietnam.power.constant;

public class AppConfigurationConstant {

	public interface APP_CONFIGURATION {
		public static String MAX_RECORDS_PER_MODULE = "MAX_RECORDS_PER_MODULE";
		public static String MAX_RECORDS_PER_PAGE = "MAX_RECORDS_PER_PAGE";
		public static String MAX_MENU_LEVEL = "MAX_MENU_LEVEL";
		public static String MAX_ARTICLES_PER_PAGE = "MAX_ARTICLES_PER_PAGE";
		public static String MAX_ARTICLES_FOR_ABOUT_US = "MAX_ARTICLES_FOR_ABOUT_US";
		public static String MAX_ARTICLES_FOR_CONTACT_US = "MAX_ARTICLES_FOR_CONTACT_US";
		public static String MAX_PICTURES_FOR_BANNER = "MAX_PICTURES_FOR_BANNER";
		public static String MAX_PICTURES_FOR_FOOTER = "MAX_PICTURES_FOR_FOOTER";
		public static String MAX_PICTURES_FOR_SLIDER = "MAX_PICTURES_FOR_SLIDER";
		public static String MAX_PICTURES_FOR_ADVERTISING = "MAX_PICTURES_FOR_ADVERTISING";
	}

	public interface USER_INFO {
		public static final short MAX_OF_LOGGING_ATTEMPT = 100;
	}

	public interface FILE_UPLOAD {
		public static final String FILE_THUMB = "THUMB";
		public static final String FILE_FULL_SIZE = "FULL";
		public static final String FILE_UPLOAD_ROOT_FOLDER = "FILE_UPLOAD";
		public static final String THUMB_FOLDER = "THUMB";
		public static final String FILE_FOLDER = "FULL";
		public static final String FILE_PRODUCT_NAME = "PRODUCT_IMAGE";
		public static final String FILE_BANNER_NAME = "BANNER_IMAGE";
		public static final String FILE_FOOTER_NAME = "FOOTER_IMAGE";
		public static final String FILE_SLIDER_NAME = "SLIDER_IMAGE";
		public static final String FILE_ARTICLE_NAME = "ARTICLE_IMAGE";
		public static final String FILE_AVATAR_NAME = "AVATAR_IMAGE";
		public static final String FILE_ADVERTISING_NAME = "ADVERTISING_IMAGE";
		public static final int PRODUCT_THUMB_WIDTH = 120;
		public static final int PRODUCT_THUMB_HEIGHT = 100;
		public static final int ARTICLE_THUMB_WIDTH = 130;
		public static final int ARTICLE_THUMB_HEIGHT = 100;
		public static final int AVATAR_THUMB_WIDTH = 215;
		public static final int AVATAR_THUMB_HEIGHT = 215;
		public static final int BANNER_THUMB_WIDTH = 100;
		public static final int BANNER_THUMB_HEIGHT = 27;
		public static final int FOOTER_THUMB_WIDTH = 100;
		public static final int FOOTER_THUMB_HEIGHT = 24;
		public static final int SLIDER_THUMB_WIDTH = 100;
		public static final int SLIDER_THUMB_HEIGHT = 28;
		public static final int ADV_THUMB_WIDTH = 211;
		public static final int ADV_THUMB_HEIGHT = 118;
	}

	public interface ARTICLE_GROUP {
		public static final String ABOUT_US = "ABOUT";
		public static final String NEWS = "NEWS";
		public static final String CONTACT = "CONTACT";
	}
	
	public interface MESSAGE {
		public static final boolean READ = Boolean.TRUE;
		public static final boolean UNREAD = Boolean.FALSE;
		public static final boolean SENT = Boolean.TRUE;
		public static final boolean UNSENT = Boolean.FALSE;
		public static final String INBOX = "INBOX";
		public static final String SEND = "SENT";
		public static final String TRASH = "TRASH";
	}

	public enum TransactionStatus {
		PENDING(1, "Pending", "admin.order.status.pending"), PROCESSING(2, "Processing", "admin.order.status.processing"), DONE(3, "Done",
				"admin.order.status.done"), CANCEL(4, "Cancel", "admin.order.status.cancel");
		private int orderStatus;
		private String description;
		private String code;

		private TransactionStatus(int orderStatus, String description, String code) {
			this.orderStatus = orderStatus;
			this.description = description;
			this.code = code;
		}

		public int getOrderStatus() {
			return orderStatus;
		}

		public void setOrderStatus(int orderStatus) {
			this.orderStatus = orderStatus;
		}

		public String getDescription() {
			return description;
		}

		public void setDescription(String description) {
			this.description = description;
		}

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

	};
}
